package com.daidai.test;

import com.alibaba.fastjson.JSON;
import com.daidai.sink.domain.User;

public class UserToString {
    public static void main(String[] args) {
        User daidai = new User(1, "daidai", "000000");
        String daidaiStr = JSON.toJSONString(daidai);
        Object json = JSON.toJSON(daidai);
    }
}
